package com.qidian.mes.md.mapper;

import com.qidian.mes.pojo.MdWorkshop;
import com.qidian.mes.util.pojo.QdResult;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: 小可怎么都睡不够
 * @Description:
 * @Time: 2024-04-10 10:53
 **/

public interface MdWorkshopMapper {
    void insertMdWorkshop(MdWorkshop mdWorkshop);

    void deleteMdWorkshopById(Integer idWorkshop,Integer status);

    void updateMdWorkshop(MdWorkshop mdWorkshop);

    MdWorkshop getMdWorkshopById(Integer idWorkshop);

    List<MdWorkshop> getMdWorkshopsByName(@Param("emp") String emp, @Param("name") String name, @Param("offset") Integer offset, @Param("limit") Integer limit);

    Integer getCount();

    List<MdWorkshop> getMdWorkshops();
}
